﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ERPPublic;
using SqlSugar;

namespace FinancialManagement.Domain.Model
{
    /// <summary>
    /// 实收账款
    /// </summary>
    [SugarTable("ActualBills")]
    public class ActualBills : Audit
    {
        /// <summary>
        /// 实收id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int ABId { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? AClientName { get; set; }
        /// <summary>
        /// 实际收款编号
        /// </summary>
        public string? AReceiptNumber { get; set; }
        /// <summary>
        /// 实收总额
        /// </summary>
        public decimal? ATotalAmountReceived { get; set; }
        /// <summary>
        /// 应收总额
        /// </summary>
        public decimal? ATotalReceivables { get; set; }
        /// <summary>
        /// 收款方式
        /// </summary>
        public int? PayoutType { get; set; }
        /// <summary>
        /// 收款人员
        /// </summary>
        public string? ACollectors { get; set; }
        /// <summary>
        /// 计划收款日期
        /// </summary>
        public DateTime? AScheduledPayoutDate { get; set; }
        /// <summary>
        /// 实际收款日期
        /// </summary>
        public DateTime? ActualPayoutDate { get; set; }
    }
}
